<%-- 
    Document   : main
    Created on : Jul 20, 2012, 9:12:25 PM
    Author     : Atienza-Home
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <title> Adminpanel | Moviestore.com</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
        <link href="../adminpanel/header.css" rel="stylesheet" type="text/css"></link>
        <script type="text/javascript" src="jquery.js"></script>
        
        <script type="text/javascript">
            
            var categorytabpressed = false;
            var movietabpressed = false;
           
            function categorytab(){
                if(categorytabpressed==false){
                    categorytabpressed=true;
                    document.getElementById("categorysubtab").style.display = "block";
                }
                else{
                    categorytabpressed=false;
                    document.getElementById("categorysubtab").style.display = "none";
                }
                    
               
                
            }
            
            function movietab(){
                if(movietabpressed==false){
                    movietabpressed=true;
                    document.getElementById("moviesubtab").style.display = "block";
                }
                else{
                    movietabpressed=false;
                    document.getElementById("moviesubtab").style.display = "none";
                }
                    
               
                
            }
            
            
        </script>
        
        
        
    </head>
<body>
        
    <div id="header"><font color="#006666" style=" font-size: 30px; font-weight: bold;">Moviestore.com</font></div>
    <div id="realbody">
        <font color="white">
        <div style=" padding-left: 0px; font-weight: bold;"><font color="black">Select something:</font></div>
        
        <a href="javascript:categorytab();"><div class="maintab" id="categorytab" > <font color="white">Categories</font></div></a>
            
        <div class="subtab" id="categorysubtab">
            
            
            <a href="../adminpanel/viewcategories.jsp"><font color="white"><li>View/Edit/Delete Categories</li></font></a>
            <hr>
            <a href="../adminpanel/addcategories.jsp"><font color="white"><li>Add Category</li></font></a>
                    
              
        </div>
            
        <a href="javascript:movietab();"><div class="maintab" id="movietab"> <font color="white">Movies</font></div></a>
            
        <div class="subtab" id="moviesubtab">
            
            
            <a href="../adminpanel/viewmovies.jsp"><font color="white"><li>View/Edit/Delete Movie</li></font></a>
            <hr>
            <a href="../adminpanel/addmovies.jsp"><font color="white"><li>Add Movie</li></font></a>
                    
              
        </div>    
            
            
            
            
            
            
        <font>
    </div>
</body>
</html>
